package com.restaurant.service;

import java.util.List;
import com.restaurant.domain.Leavetype;

public interface LeavetypeService {

   public Leavetype addOrModify( Leavetype objLeavetype ) throws Exception;
   public Leavetype deleteRecord( Leavetype objLeavetype ) throws Exception;
   public Leavetype modifyRecord( Leavetype objLeavetype ) throws Exception;
   public List<Leavetype> loadAll() throws Exception;
   public Leavetype loadByPrimaryKey( Long primaryKey ) throws Exception;
   public Leavetype deleteByPrimaryKey( Long primaryKey ) throws Exception;
   public List<Leavetype> loadByHql( String query ) throws Exception;

}